package com.yzd.learnjava.iniialization;

import com.sun.org.apache.bcel.internal.generic.NEW;

public class OrderOfInitialization {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		House h = new House();
		h.f();

	}

}
class Window{
	public Window(int maker) {
		System.out.println("Window(" + maker + ")");
	}
}

class House{
	Window w1 = new Window(1);
	public House() {
		System.out.println("House()");
		w3 = new Window(33);
	}
	Window w2 = new Window(2);
	void f(){
		System.out.println("f()");
	}
	Window w3 = new Window(3);
}